import angular from 'angular';
import uirouter from 'angular-ui-router';

angular.module('app.router',[uirouter])
	.config(function($stateProvider,$httpProvider,$urlRouterProvider){
		$stateProvider
		.state('main',{
			url:'main',
			// templateUrl:'page/main/view.html',
			abstract:true,
			controller:'mainController'
		})
		.state('main.home',{
			url:'/home',
			// templateUrl:'page/home/view.html',
			controller:'homeController'
		})
		.state('')_

	})